package org.loong.crypto.service.core.provider;

import org.loong.crypto.common.exception.CryptoException;

/**
 * RandomGenerator.
 */
public interface RandomGenerator {

    /**
     * Generated random.
     * 
     * @param randomLength the randomLength
     * @return the random data
     * @throws CryptoException the {@link CryptoException}
     */
    byte[] generateRandom(int randomLength) throws CryptoException;
}
